Skip to content

London | 26-ITP-May | Russom Gebremeskel | Sprint 1 | Form Controls#1292

Open
russom-g wants to merge 1 commit into
CodeYourFuture:mainfrom
russom-g:form-control-1
Open

London | 26-ITP-May | Russom Gebremeskel | Sprint 1 | Form Controls#1292
russom-g wants to merge 1 commit into
CodeYourFuture:mainfrom
russom-g:form-control-1

Conversation

@russom-g
Copy link
Copy Markdown

@russom-g russom-g commented May 16, 2026

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

-I wrote the HTML code.
-I tested it on light house.
-I added some CSS code to get 100% in light house.

Questions

@netlify
Copy link
Copy Markdown

netlify Bot commented May 16, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit 40c3185
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/6a086d8fa0ade5000858af9e
😎 Deploy Preview https://deploy-preview-1292--cyf-onboarding-module.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
2 paths audited
Performance: 100 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 86 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

This comment has been minimized.

@russom-g russom-g added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 16, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 16, 2026
@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@russom-g russom-g added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 16, 2026
@Luro91 Luro91 added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label May 20, 2026
Copy link
Copy Markdown

@Luro91 Luro91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code works already as expected. I have some comments on the formatting and the styles in the html file

Comment thread Form-Controls/index.html
Comment on lines +9 to +49
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
color: black;
padding: 1rem;
text-align: center;
margin-bottom: 20px;
}
main {
padding: 1rem;
}
form {
max-width: 400px;
margin: 0 auto;
}
div {
margin-bottom: 1rem;
}
label {
display: block;
margin-bottom: 0.5rem;
}
input,
select {
width: 100%;
padding: 0.5rem;
box-sizing: border-box;
}
button {
padding: 0.5rem 1rem;
background-color: #333;
color: white;
border: none;
cursor: pointer;
}

</style>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can you separate the styling from the html code to reduce the file size?

Comment thread Form-Controls/index.html
<div>

<label for="name"> Name:</label>
<input type="text" id="name" name="name" required pattern="\S{2,}" title="Please enter at least two non-space characters.">
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done on ensuring the required pattern is used for the name

Comment thread Form-Controls/index.html
Comment on lines +59 to +63

<label for="name"> Name:</label>
<input type="text" id="name" name="name" required pattern="\S{2,}" title="Please enter at least two non-space characters.">
</div>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see some new lines that are not needed. How can you ensure consistent formatting in your code automatically?

@Luro91 Luro91 added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants